.container {
  min-height: 100vh;
  background-color: #F8F9FD;
  margin-left: 20rpx;
  position: relative;
}

.scroll-container {
	height: 100vh;
	padding-bottom: 120rpx;
}

.content {
	padding: 0 30rpx;
	position: relative;
	z-index: 1;
}

/* 顶部安全区域 */
.safe-area {
  height: var(--status-bar-height);
  height: 120rpx;
  width: 100%;
}


.header {
	padding: 40rpx 30rpx;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.title {
	font-size: 44rpx;
	font-weight: bold;
	color: #333;
}

.notify-list {
	margin-top: 20rpx;
  overflow: hidden; /* 隐藏超出部分 */
}

.notify-item {
	position: relative;
	width: 100%;
	margin-bottom: 20rpx;
	transition: transform 0.3s ease;
}

.notify-main {
	background: white;
	border-radius: 30rpx;
	padding: 30rpx;
	display: flex;
	align-items: flex-start;
	box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
	width: 200%;
	box-sizing: border-box;
}

.notify-icon {
	width: 80rpx;
	height: 80rpx;
	background: #F0F3FF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20rpx;
	font-size: 36rpx;
}


.notify-content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.notify-title {
	font-size: 32rpx;
	font-weight: bold;
	color: #333;
	margin-bottom: 10rpx;
}

.notify-desc {
	font-size: 28rpx;
	color: #666;
	margin-bottom: 15rpx;
}

.notify-time {
	font-size: 24rpx;
	color: #999;
}

/* 竖线 */
.divider {
  position: absolute;
  right: -5rpx;
  top: 0;
  height: 100%; /* 竖线的高度和父容器一样高 */
  border-left: 0.5rpx solid #D3D3D3; /* 灰色竖线 */
}

/* 添加固定顶部样式 */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #F8F9FD;
	z-index: 999;
}

/* 安全区域样式 */
.safe-area {
	height: 120rpx;
	width: 100%;
}

/* 内容区域添加上边距 */
.header-placeholder {
	height: 240rpx; /* 这个高度需要和fixed-header的实际高度匹配 */
}

/* 操作按钮样式 */
.notify-actions {
	position: absolute;
	right: -250rpx;
	top: 0;
	height: 100%;
	display: flex;
	align-items: stretch;
}

.action-btn {
	width: 90rpx;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8rpx;
  transition: width 0.2s ease; /* 添加宽度过渡动画 */
}

.action-icon {
	width: 50rpx;
	height: 50rpx;
	margin-left: 100rpx;
	margin-top: 20rpx;
}

.action-text {
  width: 50rpx;
  height: 50rpx;
  margin-left: 100rpx;
  color: #333;
  font-size: 24rpx;  /* 可以适当调整字号 */
  font-weight: 700;  /* 确保字体加粗 */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;  /* 提高文本可读性 */
  -webkit-font-smoothing: antialiased;  /* 在 Webkit 浏览器中平滑字体 */
}


.delete-text{
  color: red;
}

.read-btn {
  margin-left: 50rpx;  /* 缩小左边的间距，使"已读"更靠近左边 */
}

.delete-btn {
  margin-left: 50rpx;
}

/* 已读状态样式 */
.notify-item.read {
	opacity: 0.6;
}


/* 底部导航栏样式 */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120rpx;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
  z-index: 999; /* 确保导航栏在最上层 */
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tab-item.active {
  color: #4C6FFF;
}

/* 激活状态下的文字颜色 */
.tab-item.active .tab-text {
  color: #333;
  font-weight: 500;
  transform: scale(1.05);
}

.tab-icon {
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 6rpx;
  transition: all 0.3s ease-in-out;
}

/* 设置图标旋转动画 */
.tab-item[data-tab="setting"].active .tab-icon {
  transform: rotate(180deg);
}

/* 其他图标放大动画 */
.tab-item:not([data-tab="setting"]).active .tab-icon {
  transform: scale(1.1);
}

.tab-text {
  font-size: 24rpx;
  transition: all 0.3s ease-in-out;
  color: #666;
}

.tab-item-center {
  transform: translateY(-30rpx);
  position: relative;
  z-index: 10;
}

/* 中间按钮样式 */
.center-button {
  width: 100rpx;
  height: 100rpx;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #4C6FFF;
  padding: 20rpx;
  box-shadow: 0 4rpx 8rpx rgba(76, 111, 255, 0.3);
}

/* 激活状态的样式 */
.center-button.active {
  background-color: #FF69B4;
  box-shadow: 0 4rpx 8rpx rgba(255, 105, 180, 0.3);
  animation: bounceAndRotate 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.center-button image {
  width: 60%;
  height: 60%;
  filter: brightness(0) invert(1);
}

.center-button.active image {
  filter: brightness(0) invert(1);
}

/* 组合动画 */
@keyframes bounceAndRotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15rpx) rotate(180deg);
  }
}

/* 添加点击效果 */
.center-button:active {
  transform: scale(0.95);
}

/* 移除原来的加号样式 */
.center-icon {
  display: none;
}

.clear-btn {
  font-size: 28rpx;
  color: #666;
  padding: 10rpx 20rpx;
  background: #f5f5f5;
  border-radius: 20rpx;
}

.clear-btn:active {
  opacity: 0.8;
}